<div class="head">
	<h2><?php echo __('Address', true).': '.@$contact_title; ?></h2>
</div>
<div class="form">
	<?php
		echo $form->create('Address', array('action'=>'edit'));
		echo $form->input('id');
		echo $form->input('contact_id', array('type'=>'hidden'));
		echo $form->input('referer', array('type'=>'hidden'));
		
		echo $form->input('kind', array('type'=>'select', 'label'=>__('Kind', true).':', 'options'=>$GLOBALS['address_types']));
		echo $form->input('street', array('label'=>__('Street', true).':'));
		
		echo $form->input('zip', array('label'=>__('ZIP', true).':'));
		echo $form->input('city', array('label'=>__('City', true).':'));
		
		//echo $form->input('town');
		echo $form->input('country', array('label'=>__('State', true).':'));
		echo $form->submit(__('OK', true));
		echo $form->end();
	?>
</div>